﻿'use strict'
eventsApp.filter('durations', function () {
    return function (duration) {
        switch (duration) {
            case 1:
                return "Half Hour";
            case 2:
                return "one hour";
            case 3:
                return "half day";
            case 4:
                return "full day";
        }
    }
});

eventsApp.filter('difficulty', function () {
    return function (level) {
        switch (level) {
            case "Intermediate":
                return "/EventReg/img/logo1.png";
            case "Advanced":
                return "/EventReg/img/logo1.png";
            case "Introductory":
                return "/EventReg/img/logo1.png";
           
        }
    }
});